package com.huanwei.read;




import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.widget.FrameLayout;


import com.huanwei.cc.R;


import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * 每日一读
 */
public class MeiRi_Activity extends FragmentActivity {

    @BindView(R.id.fragment_container)
    FrameLayout fragmentContainer;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_xin_);
        ButterKnife.bind(this);


        FragmentManager fragmentManager = getSupportFragmentManager() ;

        FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();

        MeiRi_Fragment fragment = new MeiRi_Fragment();

        fragmentTransaction.add(R.id.fragment_container, fragment).commit();
    }
}
